package com.ruoyi.app.service.impl;


import com.ruoyi.app.domain.Relationship;
import com.ruoyi.app.mapper.RelationshipMapper;
import com.ruoyi.app.service.RelationshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 75460
* @description 针对表【relationship(关系表)】的数据库操作Service实现
* @createDate 2025-05-20 10:07:56
*/
@Service
public class RelationshipServiceImpl implements RelationshipService {
    @Autowired
    private RelationshipMapper relationshipMapper;
    @Override
    public Relationship getById(Integer relation) {
        return relationshipMapper.getById(relation);
    }

    @Override
    public List<Relationship> getRelationshipList() {
        return relationshipMapper.getRelationshipList();
    }
}




